<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/6/23
  Time: 15:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
  <head>
    <title>$Title$</title>
    <script type="text/javascript">
      window.onload=function () {
        var lines=[1,2,3,4];
        if (lines.length <= 0) {
        alert("您必须选择至少一条数据");
        return;
      }
        if (!confirm("确定删除吗？")) {
          return;
        } }

    </script>
  </head>
  <body>
  <form>
    <table>
      <tr>
        <td>序号</td>
        <td>收入来源</td>
        <td>收入金额</td>
        <td>登记日期</td>
      </tr>
      <c:forEach items="${incomeList}" var="income">
        <tr>
          <td>${income.id}</td>
          <td>${income.in_source}</td>
          <td>${income.in_amout}</td>
          <td>${income.in_date}</td>
        </tr>
      </c:forEach>
    </table>
  </form>
  </body>
</html>
